package com.jungle.sp.daily;

import org.apache.commons.lang3.Validate;
import org.junit.Test;

import java.math.BigDecimal;
/**

 * @author Jungle
 * @create 2024-10-16 22:49
 */
public class ApacheTool {
    @Test
    public void test2() {
        BigDecimal money = new BigDecimal("100.00").negate();
        Validate.inclusiveBetween(BigDecimal.ZERO, new BigDecimal("200"), money, "金额不对:%s", "10");
    }
}
